const routes = [
    {   //一级路由
        path: '/',
        name: '/',
        title: '登录',
        component: () => import('@/view/login/login.vue'),
    },
    {
        path: '/home',
        name: 'home',
        title: 'home',
        component: () => import('@/view/page/home.vue'),
        children: [
            {
                path: '/index',
                component: () => import('@/view/page/index/index.vue'),
                name: 'index',
                label: '数据分析',
                is_active: true
            },
            {
                path: '/role',
                component: () => import('@/view/page/system/role.vue'),
                name: 'role',
                label: '角色管理',
                is_active: false
            },
            {
                path: '/account',
                component: () => import('@/view/page/system/account.vue'),
                name: 'account',
                label: '账号管理',
                is_active: false
            },
            {
                path: '/dictionary',
                component: () => import('@/view/page/system/dictionary.vue'),
                name: 'dictionary',
                label: '字典管理',
                is_active: false
            },
            {
                path: '/specialDate',
                component: () => import('@/view/page/system/specialDate.vue'),
                name: 'specialDate',
                label: '特殊日期管理',
                is_active: false
            },
            {
                path: '/sysNote',
                component: () => import('@/view/page/system/sysNote.vue'),
                name: 'sysNote',
                label: '系统平台日志',
                is_active: false
            },

            {
                path: '/userUpgrade',
                component: () => import('@/view/page/operate/userUpgrade.vue'),
                name: 'userUpgrade',
                label: '用户升级',
                is_active: false
            },
            {
                path: '/cooperation',
                component: () => import('@/view/page/operate/cooperation.vue'),
                name: 'cooperation',
                label: '战略合作合同管理',
                is_active: false
            },
            {
                path: '/activeCard',
                component: () => import('@/view/page/operate/activeCard.vue'),
                name: 'activeCard',
                label: '活动卡券',
                is_active: false
            },
            {
                path: '/sysNotice',
                component: () => import('@/view/page/operate/sys_notice.vue'),
                name: 'sysNotice',
                label: '系统通知',
                is_active: false
            },
            {
                path: '/enterpriseLevel',
                component: () => import('@/view/page/operate/enterpriseLevel.vue'),
                name: 'enterpriseLevel',
                label: '企业等级管理',
                is_active: false
            },
            {
                path: '/enterprise',
                component: () => import('@/view/page/operate/enterprise.vue'),
                name: 'enterprise',
                label: '企业查询',
                is_active: false
            },
            {
                path: '/enterpriseSpace',
                component: () => import('@/view/page/operate/enterpriseSpace.vue'),
                name: 'enterpriseSpace',
                label: '特殊存储空间配置',
                is_active: false
            },

            {
                path: '/enterpriseNote',
                component: () => import('@/view/page/system/sysNote.vue'),
                name: 'enterpriseNote',
                label: '企业平台日志',
                is_active: false
            },
            {
                path: '/sysUser',
                component: () => import('@/view/page/operate/sysUser.vue'),
                name: 'sysUser',
                label: '平台用户查询',
                is_active: false
            },

            {
                path: '/price',
                component: () => import('@/view/page/operate/price.vue'),
                name: 'price',
                label: '铝模平台价格设置',
                is_active: false
            },
            {
                path: '/deepPluginPrice',
                component: () => import('@/view/page/operate/deepPluginPrice.vue'),
                name: 'deepPluginPrice',
                label: '深化插件价格设置',
                is_active: false
            },
            {
                path: '/upgradePrice',
                component: () => import('@/view/page/operate/upgradePrice.vue'),
                name: 'upgradePrice',
                label: '铝模升级套餐管理',
                is_active: false
            },
            {
                path: '/szlsUpgradePrice',
                component: () => import('@/view/page/operate/upgradePrice.vue'),
                name: 'szlsUpgradePrice',
                label: '数字孪生升级套餐',
                is_active: false
            },
            {
                path: '/rechargePrice',
                component: () => import('@/view/page/operate/rechargePrice.vue'),
                name: 'rechargePrice',
                label: '充值套餐设置',
                is_active: false
            },

            {
                path: '/rechargeConfirm',
                component: () => import('@/view/page/finance/rechargeConfirm.vue'),
                name: 'rechargeConfirm',
                label: '收款信息确认',
                is_active: false
            },
            {
                path: '/collectionDetail',
                component: () => import('@/view/page/finance/collectionDetail.vue'),
                name: 'collectionDetail',
                label: '收款明细',
                is_active: false
            },
            {
                path: '/enterpriseReconciliation',
                component: () => import('@/view/page/finance/enterpriseReconciliation.vue'),
                name: 'enterpriseReconciliation',
                label: '企业对账',
                is_active: false
            },
            {
                path: '/mould_type',
                component: () => import('@/view/page/mould/mould_type.vue'),
                name: 'mould_type',
                label: '模板类型',
                is_active: false
            },
            {
                path: '/parts_type',
                component: () => import('@/view/page/mould/mould_type.vue'),
                name: 'parts_type',
                label: '配件类型',
                is_active: false
            },
            {
                path: '/mould_list',
                component: () => import('@/view/page/mould/mould_list.vue'),
                name: 'mould_list',
                label: '模板库',
                is_active: false
            },
            {
                path: '/mould_rule_prop',
                component: () => import('@/view/page/mould/mould_rule_prop.vue'),
                name: 'mould_rule_prop',
                label: '模板规则属性配置',
                is_active: false
            },
            {
                path: '/mould_rule_require',
                component: () => import('@/view/page/mould/mould_rule_require.vue'),
                name: 'mould_rule_require',
                label: '模板规则条件配置',
                is_active: false
            },
            {
                path: '/mould_number_rule',
                component: () => import('@/view/page/mould/mould_number_rule.vue'),
                name: 'mould_number_rule',
                label: '模板编号规则配置',
                is_active: false
            },
            {
                path: '/parts_rule_prop',
                component: () => import('@/view/page/mould/parts_rule_prop.vue'),
                name: 'parts_rule_prop',
                label: '配件规则属性配置',
                is_active: false
            },
            {
                path: '/parts_rule_require',
                component: () => import('@/view/page/mould/parts_rule_require.vue'),
                name: 'parts_rule_require',
                label: '配件规则条件配置',
                is_active: false
            },
            {
                path: '/parts_number_rule',
                component: () => import('@/view/page/mould/parts_number_rule.vue'),
                name: 'parts_number_rule',
                label: '配件编号规则配置',
                is_active: false
            },
            {
                path: '/partsself_rule_prop',
                component: () => import('@/view/page/mould/partsself_rule_prop.vue'),
                name: 'partsself_rule_prop',
                label: '配件自身规则属性配置',
                is_active: false
            },
            {
                path: '/partsself_rule_require',
                component: () => import('@/view/page/mould/partsself_rule_require.vue'),
                name: 'partsself_rule_require',
                label: '配件自身规则条件配置',
                is_active: false
            },
            {
                path: '/partsself_number_rule',
                component: () => import('@/view/page/mould/partsself_number_rule.vue'),
                name: 'partsself_number_rule',
                label: '配件自身编号规则配置',
                is_active: false
            },

            // 型材管理
            {
                path: '/profileMetadata',
                component: () => import('@/view/page/profile/metadata.vue'),
                name: 'profileMetadata',
                label: '元数据',
                is_active: false
            },

            {
                path: '/success_case',
                component: () => import('@/view/page/operate/success_case.vue'),
                name: 'success_case',
                label: '成功案例',
                is_active: false
            },
            {
                path: '/help_center',
                component: () => import('@/view/page/customerService/help_center.vue'),
                name: 'help_center',
                label: '帮助文件维护',
                is_active: false
            },
            {
                path: '/study_center',
                component: () => import('@/view/page/customerService/study_center.vue'),
                name: 'study_center',
                label: '课程资料维护',
                is_active: false
            },
            {
                path: '/common_problem',
                component: () => import('@/view/page/customerService/common_problem.vue'),
                name: 'common_problem',
                label: '常见问题维护',
                is_active: false
            },
            // 数字孪生
            {
                path: '/digitalTwins_index',
                component: () => import('@/view/page/digitalTwins/index.vue'),
                name: 'digitalTwins_index',
                label: '项目列表',
                is_active: false
            },
            // 深化插件
            {
                path: '/version',
                component: () => import('@/view/page/deepPlugin/version.vue'),
                name: 'version',
                label: '版本管理',
                is_active: false
            },
            {
                path: '/agreement_index',
                component: () => import('@/view/page/agreement/agreement_index.vue'),
                name: 'agreement',
                label: '平台协议维护',
                is_active: false
            },
            {
                path: '/bpmn_index',
                component: () => import('@/view/page/flow/bpmn/index.vue'),
                name: 'bpmn',
                label: '流程编辑器',
                is_active: false
            },
            {
                path: '/flow_list',
                component: () => import('@/view/page/flow/bpmn/list.vue'),
                name: 'flow_list',
                label: '流程模板',
                is_active: false
            },
            {
                path: '/flow_business',
                component: () => import('@/view/page/flow/flow_business.vue'),
                name: 'flow_business',
                label: '业务流程',
                is_active: false
            },
            {
                path: '/form_list',
                component: () => import('@/view/page/flow/customForm/list.vue'),
                name: 'form_list',
                label: '表单列表',
                is_active: false
            },
            {
                path: '/customFormSetup',
                component: () => import('@/view/page/flow/customForm/index.vue'),
                name: 'customFormSetup',
                label: '表单列表',
                is_active: false
            },

        ]
    }
]

export default routes